//import defaultSettings from '@/settings'
import commin from "@/utils/commin.js"

const title = getTitle()//defaultSettings.title

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
function getTitle(){
    switch(commin.getDomain()){
      case "caiyu":
        return "代理商管理系统"
      case "hulu":
        return "葫芦ERP管理系统"
    }
}
